/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.una.accidentmanagement.integration;

import java.sql.Timestamp;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author emilianoeloi
 */
@XmlRootElement
public class Ticket {
    private Requester requester;
    private Attendant attendant;
    private String title;
    private String description;
    private Timestamp created;

    /**
     * @return the requester
     */
    public Requester getRequester() {
        return requester;
    }

    /**
     * @param requester the requester to set
     */
    @XmlElement
    public void setRequester(Requester requester) {
        this.requester = requester;
    }

    /**
     * @return the attendant
     */
    public Attendant getAttendant() {
        return attendant;
    }

    /**
     * @param attendant the attendant to set
     */
    @XmlElement
    public void setAttendant(Attendant attendant) {
        this.attendant = attendant;
    }

    /**
     * @return the title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title the title to set
     */
    @XmlElement
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    @XmlElement
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return the created
     */
    public Timestamp getCreated() {
        return created;
    }

    /**
     * @param created the created to set
     */
    @XmlElement
    public void setCreated(Timestamp abertura) {
        this.created = abertura;
    }
}
